<template>
  <div>
    <!-- 轮播图组件 -->
    <van-swipe
      class="my-swipe"
      :autoplay="3000"
      indicator-color="#9a4145"
      duration="300"
      initial-swipe="0"
    >
      <van-swipe-item v-for="item in ca_item" :key="item.cid">
        <img
          :src="`/${item.img}`"
          v-lazy="`/${item.img}`"
          style="max-width: 100%"
        />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  props: ["ca_item"],
};
</script>

<style lang="scss" scoped>
</style>